<%@ page import="com.workmanager.bean.WorkBean" %><%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2016/8/23
  Time: 16:01
   查看并评价作业页面
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../inc/top.jsp"%>
<script src="<%=ctxpath%>/static/teacher/js/evaluateWork.js"></script>
<link href="<%=ctxpath%>/static/teacher/css/evaluateWork.css" rel="stylesheet" />
<%
    WorkBean workBean =  (WorkBean) request.getAttribute("work");
    String jobTaskId = (String) request.getAttribute("jobTaskId");
%>
<div>
    <div class="topInfo">
        <span class="info"> 学生：</span>
        <span class="info"><%=workBean.getaStudent().getStudent_name()%></span>
        <span class="info"> 学号：</span>
        <span class="info"><%=workBean.getaStudent().getStudent_number()%></span>
        <span class="info">作业标题：</span>
        <span class="info"><%=workBean.getWork_title()%></span>
        <span class="info">附件下载：</span>
        <a href="<%=ctxpath%>/teacherWorkController/download.wm?workId=<%=workBean.getWork_id()%>"><%=workBean.getWork_title()%></a>
    </div>
    <input id="eWorkid" value="<%=workBean.getWork_id()%>" type="hidden">
    <input id="jobTaskId" value="<%=jobTaskId%>" type="hidden">
    <hr />评价内容
    <div class="evaluateInfo">
        <textarea rows="15" type="text" name="" id="evalInfo"></textarea>
    </div>
    <div class="clickInfo">
        <button class="king-btn-demo king-btn king-border king-round king-success" id="sub">提交评价</button>
        <button class="king-btn-demo king-btn king-round king-default" id="cancel">返回</button>
    </div>
</div>
<%@include file="../inc/bottom.jsp"%>
